package org.zqh.ncc;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Configuration;
import org.zqh.ncc.config.SysConfig;

@SpringBootApplication
@Configuration
public class NccApplication {

    public static void main(String[] args) {
        Logger log = LoggerFactory.getLogger(NccApplication.class);
        SpringApplication sa = new SpringApplication(NccApplication.class);

        ConfigurableApplicationContext applicationContext = sa.run(args);
//        SysConfig smsConfig = applicationContext.getBean(SysConfig.class);

        log.info("db2nc start...");
    }
}
